package com.iwdnb.gkgz.ui.controller;

import java.util.concurrent.Executor;

import com.iwdnb.bmnf.common.model.result.Result;
import com.iwdnb.bmnf.common.service.CacheService;
import com.iwdnb.gkgz.application.service.StockIndustryService;
import com.iwdnb.gkgz.application.service.StockDayDataSerivce;
import com.iwdnb.gkgz.application.service.StockService;
import com.iwdnb.gkgz.common.utils.StockBlackListUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 股票行业板块数据处理
 **/
@RestController
@RequestMapping("/api/stock/industry")
@Slf4j
public class StockIndustryController {

    @Autowired
    StockIndustryService stockIndustryService;

    @RequestMapping("/initIndustryStockInfo")
    public Result<String> initIndustryStockInfo() {
        stockIndustryService.initIndustryStockInfo();
        return Result.getSuccessResult(null);
    }

}
